<!DOCTYPE html>
<html>
<head>
    <title>模板分类</title>
    <include file='public/head'>
</head>
<body>
	<div class="wrap js-check-wrap" style="padding: 20px 20px 0px 20px;">
		<form class="form">
			<div class="form-group">
				<label for="name">分类标识</label>
				<input type="text" class="form-control" id="name" name="name" value="{$classify.name|default=''}" />
			</div>
			<div class="form-group">
				<label for="titel">分类名称</label>
				<input type="text" class="form-control" id="title" name="title" value="{$classify.title|default=''}" />
			</div>
			
		</form>
	</div>
<include file='public/scripts'>

<script src="__STATIC__/js/layui/layui.all.js"></script>
<script src="__STATIC__/js/custom/custom.js"></script>
<script type="text/javascript">
	var getRes = function(){
		var obj = {};
		obj ['name'] = $('#name').val();
		obj ['title'] = $('#title').val();
		if( obj['name'].length== 0 || obj['title'].length == 0 ){
			layer.msg( '请将信息填写完整再提交!', { icon : 5 } );
			return false;
		}
		return obj;
	}
</script>
</body>
</html>